package com.exp.base.freemaker;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.servlet.view.freemarker.FreeMarkerView;

public class CommonFreeMarkerView extends FreeMarkerView{
	private static final String CONTEXT_PATH = "base";
	
    @Override
    protected void exposeHelpers(Map<String, Object> model, HttpServletRequest request) throws Exception {
        model.put(CONTEXT_PATH, "/");
        super.exposeHelpers(model, request);
    }
}
